package com.lanou.musicproject.bean;

import java.util.List;

/**
 * Created by dllo on 15/10/22.
 */
public class Singer {


    /**
     * code : 1
     * rows : 4
     * pages : 1
     * data : [{"_id":9464,"song_num":61,"album_num":10,"singer_name":"杨宗纬","pic_url":"http://3p.pic.ttdtweb.com/3p.ttpod.com/singer/9464/6564006.jpg"},{"_id":1765948,"song_num":2,"album_num":2,"singer_name":"马丽","pic_url":"http://3p.pic.ttdtweb.com/3p.ttpod.com/singer/1765948/522005.jpg"},{"_id":136,"song_num":123,"album_num":26,"singer_name":"杨宗纬","pic_url":"http://3p.pic.ttdtweb.com/3p.ttpod.com/singer/136/6920946.jpg"},{"_id":66096,"song_num":13,"album_num":2,"singer_name":"赵擎"}]
     */

    private int code;
    private int rows;
    private int pages;
    private List<DataEntity> data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public int getRows() {
        return rows;
    }

    public int getPages() {
        return pages;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        /**
         * _id : 9464
         * song_num : 61
         * album_num : 10
         * singer_name : 杨宗纬
         * pic_url : http://3p.pic.ttdtweb.com/3p.ttpod.com/singer/9464/6564006.jpg
         */

        private int _id;
        private int song_num;
        private int album_num;
        private String singer_name;
        private String pic_url;

        public void set_id(int _id) {
            this._id = _id;
        }

        public void setSong_num(int song_num) {
            this.song_num = song_num;
        }

        public void setAlbum_num(int album_num) {
            this.album_num = album_num;
        }

        public void setSinger_name(String singer_name) {
            this.singer_name = singer_name;
        }

        public void setPic_url(String pic_url) {
            this.pic_url = pic_url;
        }

        public int get_id() {
            return _id;
        }

        public int getSong_num() {
            return song_num;
        }

        public int getAlbum_num() {
            return album_num;
        }

        public String getSinger_name() {
            return singer_name;
        }

        public String getPic_url() {
            return pic_url;
        }
    }
}
